#!/bin/bash
#strips header from sam.
if [ "$1" != "" ]; then
	awk '{if((substr($1,1,1)!="@")&&($3!="*")) print $0}' $1
else
	awk '{if((substr($1,1,1)!="@")&&($3!="*")) print $0}' $1
fi

